package net.hn.hnms.biz.plan.vo;

import lombok.Data;
import net.hn.hnms.sys.common.core.enums.CoalInfo;

import java.math.BigDecimal;

@Data
public class CompanyYearTotalYieldVo {


    private String companyCode;
    private String companyName;
    private BigDecimal yearYield;

    public CompanyYearTotalYieldVo(String companyName, BigDecimal yearYield) {
        this.companyName = companyName;
        this.yearYield = yearYield;
        this.companyCode = CoalInfo.getCompanyCodeByCompanyName(companyName);
    }
}
